package com.accp.reporter.repository;

import com.accp.reporter.pojo.Draft;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DraftRepository {
    //添加投稿表
    int insert(@Param("draft") Draft draft);

    //统计查询
    List<Draft>finAll();
}
